package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教育改造对象 sys_study
 * 
 * @author fengzy
 * @date 2022-04-10
 */
public class SysStudy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流水编号 */
    @Excel(name = "流水编号")
    private Long studyId;

    /** 罪犯编号 */
    @Excel(name = "罪犯编号")
    private Long userId;

    /** 罪犯姓名 */
    @Excel(name = "罪犯姓名")
    private String userName;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private Long transMoney;

    /** 交易类型 */
    @Excel(name = "交易类型")
    private String transType;

    /** 交易时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交易时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transTime;

    /** 删除标识 */
    private String delFlag;

    public void setStudyId(Long studyId) 
    {
        this.studyId = studyId;
    }

    public Long getStudyId() 
    {
        return studyId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setTransMoney(Long transMoney) 
    {
        this.transMoney = transMoney;
    }

    public Long getTransMoney() 
    {
        return transMoney;
    }
    public void setTransType(String transType) 
    {
        this.transType = transType;
    }

    public String getTransType() 
    {
        return transType;
    }
    public void setTransTime(Date transTime) 
    {
        this.transTime = transTime;
    }

    public Date getTransTime() 
    {
        return transTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studyId", getStudyId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("transMoney", getTransMoney())
            .append("transType", getTransType())
            .append("transTime", getTransTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
